//
//  UIView+Extensions.swift
//  Media
//
//  Created by han on 2021/6/8.
//

import UIKit

extension UIView {
    @IBInspectable  var masksToBounds: Bool {
        get { layer.masksToBounds }
        set { layer.masksToBounds = newValue }
    }
    
    @IBInspectable var cornerRadius: CGFloat {
        get { layer.cornerRadius }
        set { layer.cornerRadius = newValue }
    }
}
